<%@page import="com.windfone.common.Constant"%>
<%@ page language="java" contentType="text/html; charset=utf-8"    pageEncoding="utf-8"%>

<%@ taglib uri="/WEB-INF/recommend.tld" prefix="windfone" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>風馳電訊-會員中心</title>
<%@ include file="head.jsp" %>
<%@ include file="headkey.jsp" %>
<script type="text/javascript" src="js/002.js"></script>
<script type="text/javascript" src="js/003.js"></script>
<script type="text/javascript" src="js/jquery-1.4.2.js"></script>
<script language="JavaScript" type="text/javascript" src="datePicker/WdatePicker.js"></script>
<link rel="stylesheet" type="text/css" href="css/index.css"/>
<link rel="stylesheet" type="text/css" href="css/header.css"/>
<link rel="stylesheet" type="text/css" href="css/reset.css"/>
<link id="ctl00_ctl00_Link3" rel="Stylesheet" type="text/css" href="css/memberorder.css"/>
<link id="ctl00_ctl00_lnkMCMaster" href="css/mc_master.css" rel="stylesheet" type="text/css"/>
<!-- 
<link rel="stylesheet" type="text/css" href="css/css.css"/>
<link rel="stylesheet" type="text/css" href="css/common.css"/>
 -->
<style>

#coodoo_Header a
{
	font-size:14px;
	font-weight:bold;
	font-weight:bold;
	font-size:14px;
	color:#FFFFFF;
	text-decoration:none;
}
  
</style>
<style>
html{color:black; background:white;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,blockquote,th,td{margin:0; padding:0;}
body{font-size:12px; font-family:Arial, Helvetica, sans-serif;}
img{border:0px; vertical-align:top;}
a{font-size:12px; text-decoration:none;}
a,a:link,a:visited{color:#353535;}
a:hover{color:#fc6900;}
 
.floatend{clear:both; line-height:0px; height:0px; font-size:0px;}
.margin20{clear:both; padding:10px;}

.fieldS1 .tleft{float:left; width:18px; height:15px; background:url(images/fieldS1_tleft.png);}
.fieldS1 .tright{float:left; width:18px; height:15px; background:url(images/fieldS1_tright.png);}
.fieldS1 .tbg{float:left; height:15px; background:url(images/fieldS1_tbg.png);}
.fieldS1 .tbg .legend{height:15px; background:White; color:#00adf1; font-weight:bold; font-size:14px; padding:0 10px 0 10px;}
.fieldS1 .bg{clear:both; border-left:solid 1px #fde9de; border-right:solid 1px #fde9de; border-bottom:solid 1px #fde9de;}

</style>
 
</head>
<body style="background-color:#000000;"> 
<!-- style="background-color:#000000;" -->
<%@ include file="navigate.jsp" %>
<div class="mcmbox" style="background-color:#FFFFFF;width: 950px;margin:0 auto;">
	<div class="mcmheader"></div>
	
		<div  class="mcmleft">
		<div class="mcmlitem">
			<div class="item1"><a   class="cur" href="memberCenter.action">会员首页</a></div>
		</div>
		
        <div class="mcmlitem">
			<div class="item5"><a   href="memberOrder.action">我的订单</a></div>
		</div>	
		<div class="mcmlitem">
			<div class="item2"><a  href="memberInfo.action">个人信息</a></div>
		</div>		
		<div class="mcmlitem">
			<div class="item3"><a  href="memberPWD.action">修改密码</a></div>
		</div>		
 
	</div>
	<div class="mcmright">
		<div class="mcmminfo">
			<div class="tx"><a href="memberInfo.action"><img src="images/noportrait.jpg" style="border-width: 0px; height: 50px; width: 50px;"/></a></div>
			<dl class="info">
				<dd>您的账号：<s:property value="bean.loginName"/></dd>
			</dl>
			<dl class="info">
				<dd>性别：
				<s:if test="detailBean.sex == 1">男</s:if>
				<s:if test="detailBean.sex == 0">女</s:if>
				<s:if test="detailBean.sex == -1"></s:if>
				</dd>
			</dl>
			<dl class="info">
				<dd>您的等级：<span class="red">
					 <s:if test='bean.level==1'>积分会员</s:if>
					 <s:if test='bean.level==2'>VIP会员</s:if>
					 <s:if test='bean.level==0'>注册会员</s:if>
					 </span></dd>
			</dl>
			<dl class="info">
				<dd>您的积分：<span class="red">0</span></dd>
			</dl>
			<dl class="info1">
				<dd>您的邮箱：<s:property value="detailBean.email"/> </dd>
			</dl>
			<dl class="info1">
				<dd>上次登录时间： <s:date  name='detailBean.loginTime'  format="yyyy-MM-dd HH:mm:ss" /></dd>
			</dl>
			<%--
			<div class="split"></div>
			<dl class="ts">
				<dd class="t1">温馨提示：</dd>
				<dd class="t2">您有 <span class="red">0</span> 条短消息未读</dd>
				<dd class="t2">您的购物车中有 <span class="red">0</span> 件商品未结账</dd>
				<dd class="t2">消费总额为 <span class="red">0.00</span> 元</dd>
				<dd class="t3"><a href="mobileCenter.action"><img src="images/hhzx_img16.png" alt=""/></a></dd>
				<dd class="floatend"></dd>
			</dl>
			--%>
		</div>

	
<div class="content">
<div class="mcbox">
	<dl class="fieldS1">
		<dd class="tleft"></dd>
		<dd class="tbg w709"><span class="legend">订单中心</span></dd>
		<dd class="tright"></dd>
		<dd class="bg w723_p10">
			<div class="tbl_b1">
				<div class="mt1">
					<dl class="dl1">
						<dd class="img"></dd>
						<dd class="txt">订单查询</dd>
						<dd class="floatend"></dd>
					</dl>
				</div>
				<div id="Search">
				<script>
					function checkOnsubmit(btn){
						var memberCenterQryFrm = document.getElementById("memberCenterQry");
						var buttonType = document.getElementById("buttonType");
						buttonType.value=btn;
						memberCenterQryFrm.submit();
					}
				</script>
				  
				
				<form method="post" action="memberCenterQry.action" name="memberCenterQryForm" id="memberCenterQryForm">
				<table>
					 <tr>
						<td>订单号：</td>
						<td><input name="qryOrderSeq" maxlength="50" id="qryOrderSeq" style="width: 125px;" type="text"/></td>
						<td><input src="images/mo_img2.png" style="border-width: 0px;" type="image" onclick="checkOnsubmit('orderseq');return false;"/></td>
						<td>起止日期：</td>
							<td><input   name="qryBeginDate" id="qryBeginDate"  maxlength="10" style="width: 80px;" type="text" value="<s:property value='qryBeginDate'/>" onFocus="WdatePicker({isShowClear:false,readOnly:true})" /> → <input name="qryEndDate"  id="qryEndDate"  maxlength="10"  value="<s:property value='qryEndDate'/>"  onFocus="WdatePicker({isShowClear:false,readOnly:true})"  style="width: 80px;" type="text"/></td>
						<td>
							<input name="btnDS" id="btnDS" src="images/mo_img2.png" style="border-width: 0px;" type="image" onclick="checkOnsubmit('date');return false;"/>
							<input type="hidden" name="buttonType" value="" id="buttonType"/>
						</td>
					</tr>
				 </table>
				 </form>
			</div>
			</div>
			<div class="margin20"></div>
			<div id="_upOrders">
	
			<table class="tbl2">
				<tr>
					<th>订单编号</th>
					<th>下单时间</th>
					<th>收货人</th>
					<th>支付方式</th>
					<th>订单金额</th>
					<th>订单状态</th>
					<th>配送单号</th>
				</tr>
				<s:iterator value="memberOrders">
				<tr style="cursor: pointer;" onclick="window.location='memberOrderShow.action?orderSeq=<s:property value='orderSeq'/>'">
					<td><s:property value="orderSeq"/></td>
				  <td><s:date  name='createtime'  format="yyyy-MM-dd" /></td>
				  <td><s:property value="name"/></td>
				  <td> 
				  <s:if test="payType == 1">
				  		云网在线支付
				  </s:if>
				  <s:if test="payType == 2">
				  		支付宝在线支付
				  </s:if>
				  </td>
				  <td class="money">¥${totalCost }</td>
				  <td>
				    <span style="font-weight: bold; color: red;">
				    	<s:if test="status==0">等待您的付款</s:if>
				    	<s:if test="status==1">已付款,等待出货</s:if>
				    	<s:if test="status==2">货已在途中</s:if>
				    	<s:if test="status==3">已收到货</s:if>
				    	<s:if test="status==5">订单完成</s:if>
				    </span>
				  </td>
				  <td></td>
				</tr>
				</s:iterator>
				<tr>
					<td class="f" colspan="7">
						未完成订单数：<span>1</span>&nbsp;&nbsp;&nbsp;&nbsp;
						已完成订单数：<span>0</span>&nbsp;&nbsp;&nbsp;&nbsp;
						订单总数：<span>1</span>
					</td>
				</tr>
			</table>
			
</div>
		</dd>
	</dl>
</div>
</div>
	<div class="floatend"></div>
	
	
 	</div>
 
<%@ include file="bottom.jsp" %>
</div>

<div style="width:950px;height: 15">&nbsp;</div>
</body>
</html>
